package com.itheima.d3_abstract;

public class Dog extends Animal {

    public void cry() {
        System.out.println(getName() + "汪汪汪叫");
    }

    public Dog(String name) {
        super(name);
    }
}
